<!-- Copyright 2014 Signal Messenger, LLC -->
<!-- SPDX-License-Identifier: AGPL-3.0-only -->

<!doctype html>
<html>
  <head>
    <meta charset="utf-8" />
    <meta
      content="width=device-width, user-scalable=no, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0"
      name="viewport"
    />
    <meta http-equiv="X-UA-Compatible" content="IE=edge" />
    <meta name="description" content="" />
    <meta name="viewport" content="width=device-width, initial-scale=1" />
    <meta
      http-equiv="Content-Security-Policy"
      content="default-src 'none';
            child-src 'self';
            connect-src 'self' https: wss: attachment:;
            font-src 'self';
            form-action 'self';
            frame-src 'none';
            img-src 'self' blob: data: emoji: attachment:;
            media-src 'self' blob: attachment:;
            object-src 'none';
            script-src 'self' 'sha256-Qu05oqDmBO5fZacm7tr/oerJcqsW0G/XqP4PRCziovc=' 'sha256-eLeGwSfPmXJ+EUiLfIeXABvLiUqDbiKgNLpHITaabgQ=';
            style-src 'self' 'unsafe-inline';"
    />
    <title>Signal</title>
    <link
      rel="preload"
      href="fonts/inter-v3.19/Inter-BoldItalic.woff2"
      as="font"
      crossorigin
      type="font/woff2"
    />
    <link
      rel="preload"
      href="fonts/inter-v3.19/Inter-Bold.woff2"
      as="font"
      type="font/woff2"
      crossorigin
    />
    <link
      rel="preload"
      href="fonts/inter-v3.19/Inter-SemiBoldItalic.woff2"
      as="font"
      type="font/woff2"
      crossorigin
    />
    <link
      rel="preload"
      href="fonts/inter-v3.19/Inter-Italic.woff2"
      as="font"
      type="font/woff2"
      crossorigin
    />
    <link
      rel="preload"
      href="fonts/inter-v3.19/Inter-SemiBold.woff2"
      as="font"
      type="font/woff2"
      crossorigin
    />
    <link
      rel="preload"
      href="fonts/inter-v3.19/Inter-Regular.woff2"
      as="font"
      type="font/woff2"
      crossorigin
    />
    <link
      rel="preload"
      href="fonts/inter-v3.19/Inter-Medium.woff2"
      as="font"
      type="font/woff2"
      crossorigin
    />
    <link
      rel="preload"
      href="fonts/signal-symbols/SignalSymbolsVariable.woff2"
      as="font"
      type="font/woff2"
      crossorigin
    />
    <link
      rel="preload"
      href="images/logo-parts/base.svg"
      as="image"
      crossorigin
    />
    <link rel="preload" href="images/signal-logo.svg" as="image" crossorigin />
    <link
      rel="preload"
      href="images/emoji-sheet-64.webp"
      as="image"
      crossorigin
    />
    <link
      href="node_modules/@signalapp/quill-cjs/dist/quill.core.css"
      rel="stylesheet"
      type="text/css"
    />
    <link href="stylesheets/manifest.css" rel="stylesheet" type="text/css" />
    <link href="stylesheets/tailwind.css" rel="stylesheet" type="text/css" />
  </head>
  <body class="overflow-hidden">
    <!-- Match ts/components/App.tsx -->
    <div id="app-container">
      <div class="app-loading-screen app-loading-screen--before-app-load">
        <div class="module-title-bar-drag-area"></div>

        <div
          class="module-splash-screen__logo module-splash-screen__logo--128"
        ></div>
        <div class="dot-container">
          <span class="dot"></span>
          <span class="dot"></span>
          <span class="dot"></span>
        </div>
        <div class="message-placeholder"></div>
      </div>
    </div>

    <script type="text/javascript">
      document
        .querySelector('.app-loading-screen')
        .addEventListener('dblclick', () => window.showDebugLog());
    </script>

    <!--
    Note: this inline script cannot be changed without also changing the hash in
    the CSP at the top of this file
    -->
    <script type="text/javascript">
      window.startApp();
    </script>
  </body>
</html>
